package com.scunewscreeper.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class NewsDetailVO {
    @JsonProperty("newsId")
    private String newsId;
    @JsonProperty("source")
    private String newsSource;
    @JsonProperty("type")
    private String newsType;
    @JsonProperty("title")
    private String newsTitle;
    @JsonProperty("date")
    private String dateTime;
    @JsonProperty("content")
    private String content;
    @JsonProperty("originUrl")
    private String originUrl;
    @JsonProperty("likeNum")
    private Integer likeNum;
    @JsonProperty("readNum")
    private Integer readNUm;
    @JsonProperty("isfav")
    private boolean hasStar;
}
